package com.ruoyi.ruoyiserver.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 浏览数量对象 fusun_view
 *
 * @author ruoyi
 * @date 2025-01-17
 */
public class FusunView extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 在线数量 */
    @Excel(name = "在线数量")
    private String onlineNumber;

    /** 历史浏览数量 */
    @Excel(name = "历史浏览数量")
    private String historyNumber;

    /** 天 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "天", width = 30, dateFormat = "yyyy-MM-dd")
    private Date day;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setOnlineNumber(String onlineNumber)
    {
        this.onlineNumber = onlineNumber;
    }

    public String getOnlineNumber()
    {
        return onlineNumber;
    }
    public void setHistoryNumber(String historyNumber)
    {
        this.historyNumber = historyNumber;
    }

    public String getHistoryNumber()
    {
        return historyNumber;
    }
    public void setDay(Date day)
    {
        this.day = day;
    }

    public Date getDay()
    {
        return day;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("onlineNumber", getOnlineNumber())
            .append("historyNumber", getHistoryNumber())
            .append("day", getDay())
            .toString();
    }
}
